<?php echo $this->load->view('meta');?>
<link rel="stylesheet" href="<?=base_url();?>css/static.css" />
<title>xa-ncsu | home</title>
<?php echo $this->load->view('header'); ?>

<div id="this_week" class="home_col">
	<h4>this week</h4>
	<ul>
		<li><a href="<?=site_url()?>xa/707"><span>707</span> - Broughton 2211</a></li>
		<li><a href="<?=site_url()?>xa/lifegroups"><span>lifegroups</span></a></li>
		<li><a href="<?=site_url()?>xa/house"><span>cafe xa</span></a></li>
	</ul>
</div>

<div id="welcome">
	<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus et ipsum ac eros egestas semper. Cras eu lacus. Fusce tempus ante id arcu. Donec in nunc sed augue venenatis consectetuer. Cras vitae augue. Phasellus leo nunc, ultricies ac, tempor ac, dictum et, erat. In dapibus. Etiam augue magna, dapibus at, eleifend sit amet, sollicitudin eu, quam. Nullam sodales elit eget libero. Morbi hendrerit. Integer at sem. Sed congue tortor et metus.</p>
		<p><?=anchor('xa/announcements','Announcements')?></p>
</div>
<div id="home_panel" class="clearfix">
	<div class="home_col">
		<h1>the blog</h1>
		<?php if ($posts->num_rows() > 0): ?>
		<ul>
			<?php foreach ($posts->result() as $row): ?>
				<li>
					<a href="<?=site_url()?>blog/post/<?=$row->id?>" ><span><?=$row->title?></span><br /><?=date( 'D F j, Y', $row->posted)?></a>
				</li>
			<?php endforeach; ?>
		</ul>
		<?php endif; ?>
	</div>
	<div class="home_col">
		<h1>upcoming events</h1>
		<ul>
			<li><a href="<?=site_url()?>"><span>Spring Retreat</span><br />February 23-24, 2008</a></li>
			<li><a href="<?=site_url()?>"><span>Spring Break Gulf Trip</span><br />March 4-8, 2008</a></li>
			<li><a href="<?=site_url()?>"><span>"I AM" Art Display</span><br />March 11, 2008</a></li>
		</ul>
	</div>
	<div class="home_col">
		<h1>something else listy</h1>
		<ul>
			<li><a href="<?=site_url()?>"><span>you can click me</span></a></li>
			<li><a href="<?=site_url()?>"><span>i can click you</span></a></li>
		</ul>
	</div>
</div>
<?php echo $this->load->view('footer');?>